home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 560 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  24.0 KB

  1. Path: conch.aa.msen.com!not-for-mail
  2. From: brain@mail.msen.com (Jim Brain)
  3. Newsgroups: comp.sys.cbm
  4. Subject: COMP.SYS.CBM: General FAQ, v3.0 Part 4/9 (beta)
  5. Supersedes: <cbmmainfaq41295@msen.com>
  6. Followup-To: comp.sys.cbm
  7. Date: 10 Jan 1996 17:05:18 -0500
  8. Organization: Brain Innovations, Inc.
  9. Sender: brain@msen.com
  10. Approved: news-answers-request@MIT.EDU
  11. Expires: 05 Feb 1996
  12. Message-ID: <cbmmainfaq40196@msen.com>
  13. Reply-To: brain@mail.msen.com
  14. NNTP-Posting-Host: conch.aa.msen.com
  15. Summary: This posting contains answers to questions that commonly surface in
  16.          comp.sys.cbm.  This posting will tell you enough to get your
  17.          computer connected to a network, fixed, and/or enhanced.  This file
  18.          should be read by new users of comp.sys.cbm before posting to the
  19.          group.  It should also be proofread by users who are currently
  20.          active in comp.sys.cbm.
  21. Keywords: CBM FAQ Help List C64 C128 VIC Modem
  22. X-URL: http://www.msen.com/~brain/
  23.  
  24.  
  25. X-Posted-By: YPost, version 0.07.B1109
  26.  
  27.  
  28. Archive-name: cbm-main-faq.3.1.p4
  29. Comp-answers-archive-name: commodore/main-faq/part4
  30. News-answers-archive-name: commodore/main-faq/part4
  31. Comp-sys-cbm-archive-name: main-faq/part4
  32. Version: 3.1
  33. Last-modified: 1995/01/10
  34.              
  35.  
  36.   ---------------------------------------------------------------------------
  37.   
  38.   Table of Contents (for this file)
  39.   ---------------------------------
  40.  
  41.    6.  The Online Information Reservoir
  42.    6.1.  How do I download?  What is a transfer protocol?
  43.    6.2.  What is the difference between PETSCII and ASCII?
  44.    6.3.  Where can I find Commodore programs?
  45.    6.4.  What is a file extension, and what do they stand for?
  46.    
  47.   ---------------------------------------------------------------------------
  48.  
  49.  
  50.    6.  The Online Information Reservoir
  51.    
  52.    How true this is.  There is information everywhere online, just
  53.    waiting to be accessed and used.  Hoever, getting at the information
  54.    can be a time consuming process.  
  55.    
  56.    6.1.  How do I download?  What is a transfer protocol?
  57.   
  58.   To transfer files for another computer (another 64 or 128, UNIX, OS/2, 
  59.   DOS, MVS, VMS, Amiga, Atari, or other), you should use a transfer protocol.
  60.   Although it is possible to transfer files by turning on the terminal
  61.   program's capture buffer and receiving the file, this is not very
  62.   reliable and is prone to errors.  When transferring any sizable amount of
  63.   data, one should use some sort of error-correcting file transfer protocol.
  64.   A file transfer protocol splits a file into many pieces, or "packets", and
  65.   send a number of them at a time.  It then waits for an acknowledgement from 
  66.   the receiver that the received received the packets correctly.  At this
  67.   point, the sender send the next batch of packets.  This process is
  68.   repeated until the entore file is transmitted.  Each packet contains
  69.   computed checksums and other error detection bytes to ensure the
  70.   received data is not corrupt.
  71.   
  72.   Below are descriptions for some of the more popular protocols:
  73.    
  74.   C1 (commonly called Punter Protocol)
  75.   
  76.   C1 is a Commodore specific transfer protocol that used to be the
  77.   standard for file transfer.  However, with the increase in IBM-based
  78.   bulleting board, it has been replaced by other protocols.  Most Commodore
  79.   BBS systems still offer C1 (usually called Punter in the list) as an option,
  80.   but almost no other BBS systems have support for it.  There is, however, a 
  81.   C1 protocol transfer program for MS-DOS called puntr104.zip.  
  82.   
  83.   KERMIT
  84.  
  85.   KERMIT is the name of one of the oldest file transfer protocols.  KERMIT
  86.   is unique in that it can encode the file being transmitted so that
  87.   it does not contain any bytes greater than 128 and does not contain any
  88.   special control bytes that terminals use to perform special actions.  As
  89.   such, this protocol is the most robust, but it is also the slowest.  
  90.   A common statement is, "if you can't KERMIT it, you can't get it"
  91.  
  92.   XMODEM
  93.  
  94.   XMODEM comes in several varieties.  Standard XMODEM sends files in 128 byte
  95.   packets.  There are two standard error-correction methods with XMODEM
  96.   checksum and CRC.  CRC is the more modern of the two.  There is also a
  97.   version of XMODEM which supports 1K-byte packets.  This version is most
  98.   commonly known as XMODEM-1K, but is sometimes erroneously called YMODEM.
  99.  
  100.   YMODEM
  101.   
  102.   YMODEM is a "batch" XMODEM protocol, allowing you to transfer multiple
  103.   files in one operation.
  104.   
  105.   ZMODEM
  106.  
  107.   A new file transfer protocol is ZMODEM.  ZMODEM is theoretically the 
  108.   fastest transfer protocol, but only shows a speed gain over the others
  109.   on noise-free telephone lines.  It achieves this speed increase by only
  110.   replying to the sender about the bad packets.  
  111.   
  112.   Most terminal programs support PUNTER, XMODEM, XMODEM-1K, YMODEM, and 
  113.   KERMIT.  The Kermit terminal program only supports KERMIT, and Novaterm, 
  114.   as of version 9.5, supports ZMODEM receives, but not sends.
  115.    
  116.    
  117.    6.2.  What is the difference between PETSCII and ASCII?
  118.   
  119.   (Note that the Amiga line of computers uses the ISO 8859-1 character
  120.   set, so this does not apply to Amiga computers)
  121.   
  122.   When Commodore designed the PET line of computers, they chose for the 
  123.   character set encoding a special encoding called PETSCII.  This set is
  124.   similar but not the same as the American Standard Code for Information
  125.   Intercahnge (ASCII).  Now, this does not cause any 
  126.   problem when transferring information between or among Commodore
  127.   computers (except the Amiga, which I believe uses ASCII), but causes
  128.   problems when exchanging information with othe computer types.
  129.   
  130.   The obvious solution is for all Commodore users to translate incoming
  131.   information into PETSCII from ASCII when talking to another type of
  132.   computer.  However, this effectively ruins binary files, which have
  133.   no concept of character codes.  Therefore, the rules are:
  134.   
  135.   Do not translate when exchanging binary files with any computer 
  136.   
  137.   Translate all textual information exchanged with non-Commodore computers.
  138.   
  139.   Translate textual information exchanged with Commodore computers only
  140.   if they are translating it as well.
  141.   
  142.   If  a text file you retrieve looks like the uppercase letters should
  143.   be lowercase and vice versa, then the file is in ASCII and needs to
  144.   be converted to PETSCII.
  145.   
  146.    
  147.    6.3.  Where can I find Commodore programs?
  148.    
  149.    Commodore programs are available from a number of sources.  For commercial
  150.    software, please see Section 15.1 for a list of software dealers.  For
  151.    shareware and public domain, you can use FTP (Section 6.9), electronic
  152.    mail (Section 6.5.2), and bulletin board system in addition to the 
  153.    software dealers to download or buy programs and other software.
  154.   
  155.    
  156.    6.4.  What is a file extension, and what do they stand for?
  157.  
  158.   A file extension is a 1 or more letter suffix appended to the end of a file
  159.   name to indicate the type of file it is.  The extension usually indicates
  160.   the contents of a file.  The list below describes some more common file
  161.   extensions, what they are used for, and how to use the file.
  162.     
  163.   Please note that these file extensions are not Commodore-exclusive.  Many
  164.   computers use file extensions.  Also note that some file extensions
  165.   are cumulative.  IF a file is named "filename.tar.gz", this indicates that
  166.   the file is of type "gz", and the file(s) inside the gz file are of type
  167.   "tar".  To use this file, one would note that both extension are 
  168.   archival extensions.  One would undo the "gz" archival method to restore
  169.   the "filename.tar" archive, then undo the "tar" archival method to restore
  170.   the original file.
  171.   
  172.   Extension:    Meaning:            Notes:
  173.   -----------------------------------------
  174.   .txt          Text File           This file is not compressed, so it needs
  175.                                     no decompression step.  However, the file
  176.                                     may be in either ASCII or PETSCII format,
  177.                                     so a conversion step may be necessary.
  178.                                     Most terminal programs can do this
  179.                                     conversion, and there are stand-alone
  180.                                     programs that do the necessary conversion
  181.                                     also.
  182.  
  183.   .sda          Self-Dissolving     Just load and run the .sda file to
  184.                 Archive             dissolve the archive.  Will dissolve
  185.                                     itself into its constituent files.
  186.                                     C64 and C128 .sda files are not
  187.                                     compatible with each other.
  188.  
  189.   .sfx          Self-Extracting     Load and run just like a .sda file.
  190.                 Archive             The same archive can be extracted on
  191.                                     either a C64 or a C128, memory permitting.
  192.  
  193.   .arc          ARChive             Use the program arc250.4 or earlier
  194.                                     for the 64 or arc128 for the 128 to
  195.                                     dissolve the archive.  arc128 is available
  196.                                     as part of the CS-DOS package.  Other
  197.                                     de-archive programs may exist.
  198.  
  199.   .lzh          LHArchive           Use the program lhx in CS-DOS on the
  200.                                     128 to dissolve this archive.  These
  201.                                     are not very common.  This archive
  202.                                     uses the same format as .sfx files,
  203.                                     but is not self-extracting.  It is
  204.                                     a standard format also used by
  205.                                     Amiga (and MS-DOS) computers.  This
  206.                                     format originated on the PC.
  207.  
  208.   .lnx          Lynx Archive        The above formats all compress files when
  209.                                     storing them; Lynx just stores them.
  210.                                     There are many different versions of
  211.                                     Lynx out there, so good luck dissolving
  212.                                     these.
  213.  
  214.   .lbr          Library Archive     A format similar to lynx.  Library
  215.                                     dissolving programs exist for both the
  216.                                     64 and 128 to dissolve these.
  217.  
  218.   .uue          UUEncoded file      UUencoding is a process whereby a binary
  219.                                     file can be converted to an all-text
  220.                                     file, transferable by E-mail.  This
  221.                                     encoded file can later be UUDecoded back
  222.                                     to the original binary file.  Unix
  223.                                     has uuencoding/decoding utilities.
  224.                                     A program "uuxfer" for the
  225.                                     C64 (by Fuzzy Fox) will both uuencode
  226.                                     and uudecode.  Note that the contents of
  227.                                     uue file could be another archived file.
  228.  
  229.   .uua          UU archive          An extension of uuencoding, a uuarchive
  230.                                     file is a concatenation of one or more
  231.                                     UUEncoded files.  So far as I know, this
  232.                                     was introduced by Craig Bruce in his ACE
  233.                                     shell for the C=128, and the utilities
  234.                                     included with that shell create and
  235.                                     dissolve uuarchives.
  236.  
  237.   .kar          Kevin's Archive     Another text archive format that seems
  238.                                     to have originated with Craig Bruce,
  239.                                     this is a proscription for concatenating
  240.                                     a series of text files (which can include
  241.                                     uuencoded files) into one file.  More
  242.                                     information can be found in C. Bruce's
  243.                                     documentation for his ace shell.
  244.  
  245.   x!<file>      ZIPCoded file       ZIPCode is a program that takes an entire
  246.                                     disk and "compacts" it into 4 files that
  247.                                     have a number followed by a '!' and then
  248.                                     a filename.  Also, ZipCode can compress
  249.                                     files, in which case the x is a letter
  250.                                     (a,b,c,d) and there need not be 4 files.
  251.                                     If ZipCode has compressed individual 
  252.                                     files, there will be an "i!" or 
  253.                                     "x!"-prefixed file on the disk that holds
  254.                                     the directory of the file compressed.  To
  255.                                     make things even more confusing, there
  256.                                     are two versions of ZipCode (v1 and v2).
  257.                                     The newer version will accept v1 archives,
  258.                                     but not vice-versa.  Use ZipCode v2 to
  259.                                     unpack such archives.
  260.  
  261.   x!!<file>     ZIPCode 6-pack      This is a ZIPCode archive that takes an
  262.                                     entire disk and puts it into 6 files,
  263.                                     each file containing GCS codes and header
  264.                                     info for the tracks.  This is basically
  265.                                     a nybble copier that stores the data it
  266.                                     receives from the disk into files.
  267.  
  268.   .bco          BCODEd file         BCODing is very similar to UUencoding in
  269.                                     that a binary file is converted into an
  270.                                     all-text format that is 33% larger than
  271.                                     the original.  The difference is that the
  272.                                     BCODE format provides additional
  273.                                     information for error detection and
  274.                                     automatic data segmentation and
  275.                                     reordering.  C-code versions of "bcode"
  276.                                     and "unbcode" are available via FTP and
  277.                                     Commodore versions are provided with
  278.                                     ACE-128/64.
  279.  
  280.   .zip          ZIP archive         Zip is a file format used on IBM
  281.                                     platforms and is created by the PKZip
  282.                                     program that is available for some
  283.                                     platforms.  There are two forms of zip
  284.                                     files that have the same extension.
  285.                                     Both are created by different versions of
  286.                                     PKZip.  The first, version 1.01, can be
  287.                                     dissolved on a 64 by using the program
  288.                                     UNZIP64.  The second, newer format is
  289.                                     version 2.04, which cannot be dissolved by
  290.                                     UNZIP64.  Your best solution when in doubt
  291.                                     is to dissolve the files on another
  292.                                     platform.  For the 128, there is a version
  293.                                     of the UNZIP64 program, called UNZIP128
  294.                                     that has been modified to run in 128 mode.
  295.                                     It is in a file called NZP12817.SFX.  This
  296.                                     archive also has a 64 version.
  297.  
  298.   <file>]x      Compression Kit     x = 4,7,8, cmd, or c(xx) to denote type
  299.                 Archive             of media that was compressed.  The files
  300.                                     can be extracted only with The Compression
  301.                                     Kit, from Mad Man Software.
  302.  
  303.   .tar          TAR Archive         UNIX Tape ARchiver.  This program can be
  304.                                     used to archive files as well.  The file
  305.                                     must be decoded using tar.
  306.  
  307.   .Z            Compress archive    Compress is a program on UNIX that will
  308.                                     shrink a single file.  It is usually used
  309.                                     on .tar files in UNIX to reduce their
  310.                                     size.  The file must be decoded by the
  311.                                     uncompress program, available on UNIX, PC,
  312.                                     Mac and other platforms.
  313.                                     Also, a very old version of GNU Zip used
  314.                                     this extension, although the file is not
  315.                                     fully compatible with the compress format.
  316.  
  317.   .gz           GZIP Archive        GZIP is a free program developed by the
  318.                                     Free Software Foundation to freely shrink
  319.                                     their software.  the resulting file must be
  320.                                     decoded by GUNZIP, available on many
  321.                                     platforms, before using.
  322.  
  323.   .taz          Compressed TAR      This is a file that should have the
  324.                                     extension "tar.Z", but has been shortened
  325.                                     for MS-DOS.  Run uncompress, then tar on
  326.                                     this file.
  327.                                     
  328.   .tgz          Gzipped Tar File    This is a file that should have extension
  329.                                     tar.gz, but has been shortened for MS-DOS
  330.                                     Run gzip or similar on the file, then tar.
  331.  
  332.   .gif          Graphics            This is a compressed graphics format 
  333.                 Interchange         created by Compuserve.  To view this file,
  334.                 Format              one must find a GIF viewer program.
  335.  
  336.   .jpeg         Joint               This graphics format can use one of two
  337.                 Photographers       compression algorithms.  One, called DPCM
  338.                 Expert              (Differential Pulse COde Modulation) 
  339.                 Group               retains all of the information in the 
  340.                                     original file, which is usually a picture.
  341.                                     The more common algorithm, called DCT
  342.                                     (Discrete Cosine Transform), relies on the
  343.                                     inability of the human eye to distinguish
  344.                                     among some colors.  DCT "throws away" some
  345.                                     information in the file (picture), while
  346.                                     still retaining the essence of the picture.
  347.                                     To view these pictures, one must either
  348.                                     obtain a JPEG veiwer or convert them to
  349.                                     GIF format.
  350.                                      
  351.   .jpg          JPEG                This is an MS-DOS named .jpeg file.
  352.   
  353.   .tiff         Tagged              This is a graphics format used on high
  354.                 Image               performance workstations.  To view this
  355.                 File                graphics format, you will need to convert
  356.                 Format              something else.
  357.  
  358.   .pcx          IBM Picture         This is graphics format used in DOS on 
  359.                                     IBM machines.  Convert this file to a
  360.                                     GIF file to view.
  361.   
  362.   .pict         Mac PICTure         This is a graphics format used on Apple
  363.                                     Macintosh machines.  Convert this file 
  364.                                     to a GIF file to view.
  365.   
  366.   .d64          1541 Disk Image     This file stores an image of one entire
  367.   .x64                              disk, for use with Commodore emulator
  368.                                     programs.  Several programs exist to 
  369.                                     extract the image onto a disk or place a
  370.                                     disk onto an image.  The only difference
  371.                                     between the .x64 and .d64 file types is an
  372.                                     added 64 byte header on a .x64 file.
  373.  
  374.   .t64         DataSette Image      This file is analogous to the .d64 file
  375.                                     type, but for tapes.
  376.   
  377.   .p00          PC64 (Emulator)     This file encapsulates a Commodore program
  378.                 Program File Image  or data file.  To extract the original 
  379.                                     file, remove the first 26 characters.  In 
  380.                                     addition to .p00, there is .s00 (SEQ), and
  381.                                     .u00 (USR) files, but are very rare.
  382.   
  383.   .bmp          Windows Bitmap      This is a format used for graphics in
  384.                                     Microsoft Windows and OS/2.  Convert this
  385.                                     file to a GIF to view.
  386.   
  387.   .pbm          Portable Bitmap     
  388.   
  389.   .xbm          X bitmap            This is a format used for graphics on the
  390.                                     X windowsing system.  Convert this file
  391.                                     to a GIF to view.
  392.   
  393.   .html         HyperText           This is a WWW hypertext document.  To
  394.                 Markup              view this file, you will need a WWW
  395.                 Language            browser of some kind.  See Section 6.8 
  396.                                     for more information on WWW.
  397.   
  398.   .doc          Document            This file could be a word processing file
  399.                                     from a program like Word for Windows, 
  400.                                     Wordperfect, or any other word processor.
  401.                                     Also, some text files that contain 
  402.                                     documentation use this extension.
  403.  
  404.   .cvt          GEOS file           GEOS files use a special file format. The
  405.                                     files are called USR files, but they have
  406.                                     special information in the file that
  407.                                     normal files don't, so you cannot just
  408.                                     upload a GEOS file like any SEQ or PRG
  409.                                     file. You can pack all the extra
  410.                                     information and the data into a regular
  411.                                     Commodore SEQ or PRG file with a program
  412.                                     Called Convert.  It has a version 2.5 and
  413.                                     a 3.0.  The files that result from this
  414.                                     conversion have the extension.  The file
  415.                                     must be processed again by Convert before
  416.                                     it can be used with GEOS.
  417.  
  418.   .N64           64NET file         Since the 64NET system works by allowing
  419.                                     an MS-DOS machine to be used as a large
  420.                                     disk drive, a way was developed to map
  421.                                     CBM filenames into the MS-DOS limitations.
  422.                                     The .N64 filenames indicates such a file.
  423.  
  424.   If the file type indicates an archive, there are many programs available
  425.   that will handle most archival methods. One of these is called Omega-Q II,
  426.   which includes one-stop compression and decompression of many of the above
  427.   archival types.
  428.   
  429.   If you use a host system to download the files from, you may want to
  430.   decompress the files before downloading.  Even though the files will be
  431.   larger to download, the time to decompress them offline will not be a
  432.   factor.  However, those who pay by-the-minute for download time would
  433.   probably want the smallest possible file, which implies decompressing on
  434.   the local machine, except in the case of a UU encoded file.  These files
  435.   are actually bigger in the 'UU' format.
  436.  
  437.    
  438.  
  439. -- 
  440. Jim Brain, Embedded Systems Designer, Brain Innovations, Inc.  (BII)
  441. brain@mail.msen.com "Above views DO reflect my employer, since I'm my employer"
  442. Dabbling in WWW, Embedded Systems, VR, Old CBM computers, and Good Times! -Me-
  443. <a href=http://www.msen.com/~brain/>BII, VR, CBM, and personal info</a>
  444.